package com.wframe.project.jnd.services.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.frame.database.JdataBean;
import com.wframe.project.jnd.dao.SmsPushDao;
import com.wframe.project.jnd.services.SmsPushService;

@Service
public class SmsPushServiceImpl implements SmsPushService{

	@Autowired
	SmsPushDao smsPushDao;
	
	@Transactional
	public List<JdataBean> querySmsPush(int size) throws Exception{
		return smsPushDao.querySmsPush(size);
	}
	@Transactional
	public void tagSmsPush(String... ids) throws Exception{
		smsPushDao.tagSmsPush(ids);
	}
}
